Repository navigation
test: enforce oasdiff nullability and warning policy - #57
Closed
mojtaba-arvin wants to merge 12 commits into
Closed
mojtaba-arvin wants to merge 12 commits into
mojtaba-arvin wants to merge 12 commits into
Conversation
This was referenced Nov 18, 2026
Owner
Author
|
Superseded by the consolidated integration PR #58, which includes this work and passed the complete required PR gate on exact head |
mojtaba-arvin
deleted the
test/oasdiff-nullability-warning-policy-stacked
branch
November 19, 2026 09:35
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Dependency
This PR is intentionally stacked on PR #54's
ci/openapi-contract-central-gatebranch. It preserves the reusable workflow and central-gate integration from #54, then tightens the same OpenAPI workflow's semantic checks. Merge #54 first, then retarget this PR tomainand rerun the full gate.Product decision
Treat both definite and potential breaking findings as release blockers. A
WARNmeans the schema is insufficient to decide safely; it must not silently pass. Exceptions require a narrowly scoped severity override with a documented rationale and test.Changes
--fail-on ERRto--fail-on WARN.nullable: true, OpenAPI 3.1 null type unions, request/response directionality, pureoneOfandanyOfwrappers, andallOf+$ref.oneOfuses property nullability findings; theanyOfunion is normalized to list-of-types findings, with request narrowing and response widening both treated as breaking.allOf+$refwithout flattening; separately test--flatten-allofusing request/response minLength changes. The pinned binary did not report the nullable transition when flattening was enabled, so baseline comparisons deliberately do not enable--flatten-allof.WARNand asserts that--fail-on WARNexits non-zero.Verification
Latest head:
ba8bdf73c32a735705ef0382a1e4785ec2adcdb2. The exact semantic suite passes on combined PR #58 head288e790545cdfc553302951dcf9274e9e3a29ccb. This PR is stacked on a non-default base branch, so its own pull-request workflow (filtered tomain) does not run; full integration evidence is being gathered on #58.